package com.ruyi.afterdemo.action;


import com.ruyi.afterdemo.po.MDiaryPlan;
import com.ruyi.afterdemo.service.MDiaryPlanDoneService;
import com.ruyi.afterdemo.service.MDiaryPlanService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

/**
 * 计划事情及完成情况action
 */
@RestController
@RequestMapping("/MDiaryPlan")
public class MDiaryPlanAction {

    @Resource
    private MDiaryPlanService mDiaryService;

    @Resource
    private MDiaryPlanDoneService mDiaryPlanDoneService;

    @PostMapping("/add")
    public Map add(@RequestBody MDiaryPlan mDiaryPlan){
        return null;
    }

}
